package com.then.component.club.db.location;

import android.arch.lifecycle.LiveData;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Query;

import com.then.component.club.entity.BaseLocation;

/**
 * Created by 42524 on 2018/2/9.
 */
@Dao
public interface AreaDao {

    @Query("SELECT * FROM dz_area where id=:areaId")
    LiveData<BaseLocation> queryAreaById(String areaId);
}
